﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace STF.OrangeDog.Model
{
    public class ClassificationColumn:BaseModel
    {
      
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(500), Column(TypeName = "varchar(500)")]
        [Display(Name = "分栏名称")]

        public string title { get; set; }
        [ForeignKey(nameof(UsersInfo.Id))]
        public int uid { get; set; }
    }
}
